package com.hao.desing.adpter;

public class Componter {
    public void net(NetToUsb netToUsb){
        netToUsb.handlerRequest();
    }

    public static void main(String[] args) {
        Componter componter=new Componter();
        adaptee adaptee=new adaptee();
        adpter adpter=new adpter();
        Adapter2 adapter2=new Adapter2(adaptee);
        componter.net(adapter2);
        componter.net(adpter);
    }
}
